﻿<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-access="property" default-lazy="true" namespace="Cms.Data.ORM" assembly="Cms.Data">
  <class name="AuditLogRecord" table="cmsAuditLog">
    <id name="ID" type="System.Int64" unsaved-value="0">
      <column name="ID" />
      <generator class="identity" />
    </id>
    <property name="Action" type="System.String">
      <column name="Action" not-null="true" />
    </property>
    <property name="EntityType" type="System.String">
      <column name="EntityType" not-null="true" />
    </property>
    <property name="EntityID" type="System.Int32">
      <column name="EntityID" not-null="true" />
    </property>
    <property name="Message" type="System.String">
      <column name="Message" length="1000000" not-null="true" />
    </property>
    <property name="UserID" type="System.Int32">
      <column name="UserID" not-null="true" />
    </property>
    <property name="AdministratorID" type="System.Int32">
      <column name="AdministratorID" not-null="true" />
    </property>
    <property name="Created" type="System.DateTime">
      <column name="Created" not-null="true" />
    </property>
  </class>
</hibernate-mapping>